package com.qf.java2106.mapper;

import com.qf.java2106.pojo.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author q
 * @version V1.0
 * @date 2021/11/03
 **/
public interface IAccountMapper {

    int insertAccount(Account account);

    int insertAccountReturn(Account account);

    List<Account> findAllAccount();

    int batchInsertAccount(@Param("accounts") List<Account> accounts);

    List<Account> findAccountByPerName(String perName);

}
